package org.xiji.command;

/**
 * 游戏指令使用
 */
public class GameRoleInvoker {
    Command command;

    //构造

    public GameRoleInvoker(Command command) {
        this.command = command;
    }

    public GameRoleInvoker() {
    }

    public Command getCommand() {
        return command;
    }

    public void setCommand(Command command) {
        this.command = command;
    }


    //指定指令操作
    public void firstSkill(){
        command.firstSkill();
    }
    public void secondSkill(){
        command.secondSkill();
    }
    public void thirdSkill(){
        command.thirdSkill();
    }
    public void fourthSkill(){
        command.fourthSkill();
    }
}
